home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Source ƒ / sky source ƒ / MAKEFILE < prev    next >
Encoding:
Text File  |  1992-06-16  |  890 b   |  30 lines

  1. # Quick and dirty makefile for sky.
  2. # E. N. Miya, NASA Ames Research Center 3/84
  3. #
  4. # Files are in alphabetic order rather than solar system order.
  5. # Planets depend on the sky.h structure whereas planet tables can compile
  6. # without sky.h
  7. #
  8. # the next line is in keeping with documentation
  9. DESTDIR = /usr/games
  10. CFLAGS =
  11. STARLIB = /usr/lib
  12. MANLIB = /usr/man/man6
  13. PLANETS = aberr.o fmod.o geo.o helio.o jup.o main.o mars.o merc.o moon.o \
  14. nutate.o \
  15. output.o pdate.o sat.o star.o stars.o sun.o venus.o comet.c
  16. PTABLES = common.o jupt.o marst.o merct.o moont.o nutt.o sunt.o venust.o
  17.  
  18. all    :    ${PLANETS} ${PTABLES}
  19.     cc ${PLANETS} ${PTABLES} -o sky -lm
  20. ${PLANETS}    :    sky.h
  21. install    :
  22.     install -s sky ${DESTDIR}/sky
  23. #    the next line is wired into the source which otherwise must be modified
  24.     cp startab  ${STARLIB}/startab
  25.     cp sky.6 ${MANLIB}/sky.6
  26. cleanall : clean
  27.     rm -f sky
  28. clean    :
  29.     rm -f *.o *.out
  30.